import { get, post } from './http'

export const getBanner = (params) => {
  let url = "/api/banner";
  return get(url, params)
}
export const getList = (params) => {
  let url = "/api/index";
  return get(url, params)
}
export const getList2 = (params) => {
  let url = "/api/index2";
  return get(url, params)
}
export const getList3 = (params) => {
  let url = "/api/index3";
  return get(url, params)
}
export const getCommunityList = (params) => {
  let url = "/api/subject";
  return get(url, params)
}
export const getSubjectList = (params) => {
  let url = "/api/community";
  return get(url, params)
}
export const getPay = (params) => {
  let url = "/wxpay/prepay";
  return post(url, params)
}





